<?php
/**
 * Created by PhpStorm.
 * User: ningtaoli
 * Date: 2018/4/24
 * Time: 下午9:11
 */

namespace app\common\validate;


use think\Validate;

class pay extends Validate
{
    protected $rule =   [
        'name'  => 'require',
        'appid' => 'require',
        'private' => 'require',
        'app_public' => 'require',
        'pay_public' => 'require',
    ];

    protected $message  =   [
        'name.require' => '真实姓名不能为空！',
        'appid.require'     => 'appid不能为空！',
        'private.require'     => '私钥不能为空！',
        'app_public.require'     => '应用公钥不能为空！',
        'pay_public.require'     => '支付宝公钥不能为空！',
    ];

}